using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Joy.Erp.BasicArchives.Core.Filters;

namespace Joy.Erp.BasicArchives.Asns
{
    public interface IAsnTypeAppService
    {
        Task<AsnTypeDto> GetAsync(Guid id);
        Task<AsnTypeDto> FindAsync(string filter);
        Task<AsnTypeDto> FindBySourceKeyAsync(string sourceKey, string sourceType);
        Task<PagedResultDto<AsnTypeDto>> GetListAsync(FilterRequestDto input);
        Task<PagedResultDto<AsnTypeDto>> QueryAsync(FilterGroupRequestDto input);
        Task<AsnTypeDto> CreateAsync(AsnTypeCreateDto input);
        Task<AsnTypeDto> UpdateAsync(Guid id, AsnTypeUpdateDto input);
        Task DeleteAsync(Guid id);
    }
}